package com.DataStructures;

import java.util.LinkedList;

public class Main76 {
    public static void main(String[] args) {
    LinkedList officers = new LinkedList();
     officers.add("B");
      officers.add("B");
      officers.add("T");
      officers.add("H");
      officers.add("P");
      System.out.println(officers);
      officers.set(2,"M");
      System.out.println(officers);
}
}
